/*
 * @Descripttion: 凭证模板
 * @version: V1.0
 * @Author: GW
 * @Date: 2022-01-21 10:38:43
 * @LastEditors: GW
 * @LastEditTime: 2022-01-21 13:49:02
 */
import { axios } from '../../utils/request'

const api = {
    save: '/voucher/template/save',
    delete: '/voucher/template/delete',
    list: '/voucher/template/getList',
    detail: '/voucher/template/getDetail',
}
export function save (data) {
    return axios({
        url: api.save,
        method: "post",
        data: data
    })
}
export function detail (data) {
    return axios({
        url: api.detail,
        method: "get",
        params: data
    })
}
export function remove (data) {
    return axios({
        url: api.delete,
        method: "delete",
        params: data
    })
}
export function getList (data) {
    return axios({
        url: api.list,
        method: "get",
        params: data
    })
}
